package net.hn.hnms.biz.energy.domain;

import com.alibaba.excel.annotation.ExcelIgnoreUnannotated;
import com.baomidou.mybatisplus.annotation.*;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;
import lombok.EqualsAndHashCode;
import lombok.NoArgsConstructor;

import javax.persistence.Table;
import java.io.Serializable;
import java.math.BigDecimal;

@Data
@NoArgsConstructor
@ExcelIgnoreUnannotated
@EqualsAndHashCode(callSuper=false)
@Table(name = "water_place_price", schema = "nygl", catalog = "huaneng-general")
public class ElectricityPlacePrice extends BaseModel implements Serializable {
    @ApiModelProperty(value = "id")
    @TableField(value = "electricity_place_id", fill = FieldFill.INSERT)
    @TableId(type = IdType.ASSIGN_UUID)
    private String electricityPlaceId;

    @ApiModelProperty(value = "负荷名称")
    @TableField(updateStrategy= FieldStrategy.IGNORED)
    private String electricityPlaceName;

    @ApiModelProperty(value = "倍率")
    @TableField(updateStrategy= FieldStrategy.IGNORED)
    private BigDecimal magnification;

    @ApiModelProperty(value = "单价")
    @TableField(updateStrategy= FieldStrategy.IGNORED)
    private BigDecimal electricityUnitPrice;

}
